diff options
| author | real-zephex <[email protected]> | 2024-04-26 23:52:18 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-04-26 23:52:18 +0530 |
| commit | 1da0ad8fa76b9d66e30c7e784e2dcaac061d9bb0 (patch) | |
| tree | f5068e60287800cfabf44bb71116a794d1759037 /src/app/kdrama/[id]/buttons.jsx | |
| parent | UI tweaks for the manga page (diff) | |
| download | dramalama-1da0ad8fa76b9d66e30c7e784e2dcaac061d9bb0.tar.xz dramalama-1da0ad8fa76b9d66e30c7e784e2dcaac061d9bb0.zip | |
minor ui fix
Diffstat (limited to 'src/app/kdrama/[id]/buttons.jsx')
| -rw-r--r-- | src/app/kdrama/[id]/buttons.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/kdrama/[id]/buttons.jsx b/src/app/kdrama/[id]/buttons.jsx index 53ae594..789c3ac 100644 --- a/src/app/kdrama/[id]/buttons.jsx +++ b/src/app/kdrama/[id]/buttons.jsx @@ -48,11 +48,11 @@ export default function EpisodesButtons({ data: episodeData, id: dramaId }) { key={index}
onClick={(event) => {
test(item.id, dramaId, item.title);
- event.target.style.backgroundColor =
+ event.currentTarget.style.backgroundColor =
"var(--soft-purple)";
}}
>
- {item.title}
+ <p>{item.title}</p>
</button>
))}
</div>
|